home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / VIEWERS / VSVIEW / VSVIEW.ZIP / FTOOLBOX.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1994-11-08  |  11.3 KB  |  343 lines

  1. VERSION 2.00
  2. Begin Form ftoolbox 
  3.    BackColor       =   &H0080FFFF&
  4.    Caption         =   "Floating Controls"
  5.    ClientHeight    =   5175
  6.    ClientLeft      =   300
  7.    ClientTop       =   1380
  8.    ClientWidth     =   6030
  9.    Height          =   5640
  10.    Left            =   210
  11.    LinkTopic       =   "Form2"
  12.    ScaleHeight     =   5175
  13.    ScaleWidth      =   6030
  14.    Top             =   1005
  15.    Width           =   6210
  16.    Begin PictureBox Picture4 
  17.       BackColor       =   &H00C0C0C0&
  18.       Height          =   1380
  19.       Left            =   3675
  20.       ScaleHeight     =   1185
  21.       ScaleWidth      =   2085
  22.       TabIndex        =   12
  23.       Top             =   3465
  24.       Width           =   2115
  25.       Begin vsInForm VSInForm3 
  26.          BarColor        =   &H00008080&
  27.          BarColorInactive=   &H00008080&
  28.          BarHeight       =   11
  29.          ConvInfo        =   FTOOLBOX.FRX:0000
  30.          CustomFrame     =   -1  'True
  31.          FrameWidth      =   1
  32.          Left            =   315
  33.          PictLeft0       =   FTOOLBOX.FRX:000B
  34.          Top             =   660
  35.       End
  36.       Begin vsViewPort vsViewPort3 
  37.          BackColor       =   &H00808080&
  38.          ConvInfo        =   FTOOLBOX.FRX:00D5
  39.          Height          =   960
  40.          Left            =   105
  41.          Top             =   105
  42.          VirtualHeight   =   0
  43.          VirtualWidth    =   3270
  44.          Width           =   1905
  45.          Begin PictureBox Picture2 
  46.             BackColor       =   &H00808080&
  47.             BorderStyle     =   0  'None
  48.             Height          =   435
  49.             Index           =   5
  50.             Left            =   105
  51.             Picture         =   FTOOLBOX.FRX:00E0
  52.             ScaleHeight     =   435
  53.             ScaleWidth      =   435
  54.             TabIndex        =   17
  55.             Top             =   105
  56.             Width           =   435
  57.          End
  58.          Begin PictureBox Picture2 
  59.             BackColor       =   &H00808080&
  60.             BorderStyle     =   0  'None
  61.             Height          =   540
  62.             Index           =   1
  63.             Left            =   735
  64.             Picture         =   FTOOLBOX.FRX:03E2
  65.             ScaleHeight     =   540
  66.             ScaleWidth      =   540
  67.             TabIndex        =   16
  68.             Top             =   105
  69.             Width           =   540
  70.          End
  71.          Begin PictureBox Picture2 
  72.             BackColor       =   &H00808080&
  73.             BorderStyle     =   0  'None
  74.             Height          =   540
  75.             Index           =   2
  76.             Left            =   1365
  77.             Picture         =   FTOOLBOX.FRX:06E4
  78.             ScaleHeight     =   540
  79.             ScaleWidth      =   540
  80.             TabIndex        =   15
  81.             Top             =   105
  82.             Width           =   540
  83.          End
  84.          Begin PictureBox Picture2 
  85.             BackColor       =   &H00808080&
  86.             BorderStyle     =   0  'None
  87.             Height          =   540
  88.             Index           =   3
  89.             Left            =   1995
  90.             Picture         =   FTOOLBOX.FRX:09E6
  91.             ScaleHeight     =   540
  92.             ScaleWidth      =   540
  93.             TabIndex        =   14
  94.             Top             =   105
  95.             Width           =   540
  96.          End
  97.          Begin PictureBox Picture2 
  98.             BackColor       =   &H00808080&
  99.             BorderStyle     =   0  'None
  100.             Height          =   540
  101.             Index           =   4
  102.             Left            =   2625
  103.             Picture         =   FTOOLBOX.FRX:0CE8
  104.             ScaleHeight     =   540
  105.             ScaleWidth      =   540
  106.             TabIndex        =   13
  107.             Top             =   105
  108.             Width           =   540
  109.          End
  110.       End
  111.    End
  112.    Begin PictureBox Picture1 
  113.       Height          =   2850
  114.       Index           =   1
  115.       Left            =   2520
  116.       Picture         =   FTOOLBOX.FRX:0FEA
  117.       ScaleHeight     =   2415
  118.       ScaleWidth      =   3030
  119.       TabIndex        =   11
  120.       Top             =   210
  121.       Width           =   3270
  122.       Begin vsInForm VSInForm1 
  123.          BarColor        =   &H00000080&
  124.          BarColorInactive=   &H00000080&
  125.          BarHeight       =   13
  126.          BarStyle        =   2  'NoBorder
  127.          ButtonsLeft     =   2  '2
  128.          CapAlign        =   1  'Left Center
  129.          CapColor        =   &H00FFFFFF&
  130.          CapColorInactive=   &H00FFFFFF&
  131.          ConvInfo        =   FTOOLBOX.FRX:4DA0
  132.          CustomFrame     =   -1  'True
  133.          FontBold        =   -1  'True
  134.          FontItalic      =   0   'False
  135.          FontName        =   "Arial"
  136.          FontSize        =   8.25
  137.          FontStrikethru  =   0   'False
  138.          FontUnderline   =   0   'False
  139.          FrameColor      =   &H00C0C0C0&
  140.          FrameColorInactive=   &H00C0C0C0&
  141.          FrameStyle      =   4  'Raised Frame
  142.          FrameWidth      =   8
  143.          Index           =   1
  144.          Left            =   120
  145.          PictLeft0       =   FTOOLBOX.FRX:4DAB
  146.          PictLeft1       =   FTOOLBOX.FRX:4E75
  147.          Top             =   435
  148.       End
  149.    End
  150.    Begin PictureBox Picture3 
  151.       BackColor       =   &H00C0C0C0&
  152.       Height          =   3270
  153.       Left            =   105
  154.       ScaleHeight     =   2790
  155.       ScaleWidth      =   2190
  156.       TabIndex        =   2
  157.       Top             =   210
  158.       Width           =   2220
  159.       Begin vsInForm VSInForm1 
  160.          BarColor        =   &H00808000&
  161.          BarColorInactive=   &H00808000&
  162.          BarHeight       =   30
  163.          ButtonsLeft     =   0  '0
  164.          ButtonsRight    =   1  '1
  165.          CapColor        =   &H00FFFFFF&
  166.          CapColorInactive=   &H00FFFFFF&
  167.          CapMultiLine    =   -1  'True
  168.          Caption         =   "Rollup"
  169.          ConvInfo        =   FTOOLBOX.FRX:4F3F
  170.          CustomFrame     =   -1  'True
  171.          FontBold        =   -1  'True
  172.          FontItalic      =   0   'False
  173.          FontName        =   "Arial"
  174.          FontSize        =   9.75
  175.          FontStrikethru  =   0   'False
  176.          FontUnderline   =   0   'False
  177.          FrameColor      =   &H00C0C0C0&
  178.          FrameColorInactive=   &H00C0C0C0&
  179.          FrameCorners    =   0   'False
  180.          FrameSizing     =   0  'None
  181.          FrameWidth      =   1
  182.          Index           =   0
  183.          Left            =   900
  184.          PictLeft0       =   FTOOLBOX.FRX:4F4A
  185.          PictLeft1       =   FTOOLBOX.FRX:5014
  186.          PictRight0      =   FTOOLBOX.FRX:50DE
  187.          Top             =   1050
  188.       End
  189.       Begin ComboBox Combo1 
  190.          Height          =   300
  191.          Index           =   3
  192.          Left            =   1155
  193.          Style           =   2  'Dropdown List
  194.          TabIndex        =   10
  195.          Top             =   945
  196.          Width           =   960
  197.       End
  198.       Begin ComboBox Combo1 
  199.          Height          =   300
  200.          Index           =   2
  201.          Left            =   105
  202.          Style           =   2  'Dropdown List
  203.          TabIndex        =   9
  204.          Top             =   945
  205.          Width           =   960
  206.       End
  207.       Begin ComboBox Combo1 
  208.          Height          =   300
  209.          Index           =   1
  210.          Left            =   105
  211.          Style           =   2  'Dropdown List
  212.          TabIndex        =   8
  213.          Top             =   525
  214.          Width           =   2010
  215.       End
  216.       Begin ComboBox Combo1 
  217.          Height          =   300
  218.          Index           =   0
  219.          Left            =   105
  220.          Style           =   2  'Dropdown List
  221.          TabIndex        =   7
  222.          Top             =   120
  223.          Width           =   2010
  224.       End
  225.       Begin CommandButton Command1 
  226.          Caption         =   "Save"
  227.          Height          =   345
  228.          Index           =   3
  229.          Left            =   1155
  230.          TabIndex        =   6
  231.          Top             =   1890
  232.          Width           =   960
  233.       End
  234.       Begin CommandButton Command1 
  235.          Caption         =   "Text"
  236.          Height          =   345
  237.          Index           =   2
  238.          Left            =   120
  239.          TabIndex        =   5
  240.          Top             =   1890
  241.          Width           =   1050
  242.       End
  243.       Begin CommandButton Command1 
  244.          Caption         =   "Paragraph"
  245.          Height          =   345
  246.          Index           =   1
  247.          Left            =   105
  248.          TabIndex        =   4
  249.          Top             =   1470
  250.          Width           =   1995
  251.       End
  252.       Begin CommandButton Command1 
  253.          Caption         =   "Apply"
  254.          Height          =   345
  255.          Index           =   0
  256.          Left            =   105
  257.          TabIndex        =   3
  258.          Top             =   2310
  259.          Width           =   1995
  260.       End
  261.    End
  262.    Begin vsInForm VSInForm2 
  263.       BarHeight       =   15
  264.       ButtonsRight    =   3  '3
  265.       CapMultiLine    =   -1  'True
  266.       Caption         =   "Custom Borders"
  267.       ConvInfo        =   FTOOLBOX.FRX:523E
  268.       FrameStyle      =   4  'Raised Frame
  269.       Index           =   0
  270.       Left            =   2100
  271.       PictLeft0       =   FTOOLBOX.FRX:5249
  272.       PictRight0      =   FTOOLBOX.FRX:5313
  273.       PictRight1      =   FTOOLBOX.FRX:53DD
  274.       PictRight2      =   FTOOLBOX.FRX:54A7
  275.       Top             =   3570
  276.    End
  277.    Begin PictureBox Picture2 
  278.       Height          =   300
  279.       Index           =   0
  280.       Left            =   840
  281.       Picture         =   FTOOLBOX.FRX:5571
  282.       ScaleHeight     =   270
  283.       ScaleWidth      =   285
  284.       TabIndex        =   1
  285.       Top             =   3990
  286.       Visible         =   0   'False
  287.       Width           =   312
  288.    End
  289.    Begin PictureBox Picture1 
  290.       Height          =   315
  291.       Index           =   0
  292.       Left            =   390
  293.       Picture         =   FTOOLBOX.FRX:56D1
  294.       ScaleHeight     =   285
  295.       ScaleWidth      =   315
  296.       TabIndex        =   0
  297.       Top             =   3990
  298.       Visible         =   0   'False
  299.       Width           =   345
  300.    End
  301.    Begin Image Pin 
  302.       Height          =   150
  303.       Index           =   1
  304.       Left            =   570
  305.       Picture         =   FTOOLBOX.FRX:5831
  306.       Top             =   3750
  307.       Visible         =   0   'False
  308.       Width           =   150
  309.    End
  310.    Begin Image Pin 
  311.       Height          =   150
  312.       Index           =   0
  313.       Left            =   390
  314.       Picture         =   FTOOLBOX.FRX:58FB
  315.       Top             =   3750
  316.       Visible         =   0   'False
  317.       Width           =   150
  318.    End
  319. Option Explicit
  320. Sub Form_Load ()
  321.   Combo1(0).AddItem "Arial"
  322.   Combo1(0).AddItem "Courier"
  323.   Combo1(1).AddItem "Normal"
  324.   Combo1(1).AddItem "Bold"
  325.   Combo1(2).AddItem "8.25"
  326.   Combo1(2).AddItem "12"
  327.   Combo1(3).AddItem "points"
  328.   Combo1(3).AddItem "twips"
  329.   Combo1(0).ListIndex = 0
  330.   Combo1(1).ListIndex = 0
  331.   Combo1(2).ListIndex = 0
  332.   Combo1(3).ListIndex = 0
  333. End Sub
  334. Sub VSInForm1_ClickRButton (Index As Integer, Button As Integer)
  335.   If Picture3.Height = 3270 Then
  336.       Picture3.Height = 470
  337.       VSinform1(0).PictRight0 = Picture2(0)
  338.   Else
  339.       Picture3.Height = 3270
  340.       VSinform1(0).PictRight0 = Picture1(0)
  341.   End If
  342. End Sub
  343.